package com.xinqing.test.flink.datastream.model;

/**
 * @Author:CHQ
 * @Date:2021/4/21 13:50
 * @Description
 */
public class Result {

    private String key;
    private int sumScore;
    private Long timestamp;

    @Override
    public String toString() {
        return "Result{" +
                "key='" + key + '\'' +
                ", sumScore='" + sumScore + '\'' +
                ", timestamp=" + timestamp +
                '}';
    }

    public Result(String key, int sumScore, Long timestamp) {
        this.key = key;
        this.sumScore = sumScore;
        this.timestamp = timestamp;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int getSumScore() {
        return sumScore;
    }

    public void setSumScore(int sumScore) {
        this.sumScore = sumScore;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
